package bpmn.structure;

import java.util.ArrayList;

public class LaneSet extends BPMNElem
{
    private final ArrayList<Lane> lanes;

    {
        type = BPMNElemType.LaneSet;
    }

    public LaneSet(String id)
    {
        super(id);
        lanes = new ArrayList<>();
    }

    public ArrayList<Lane> getLanes()
    {
        return lanes;
    }

    public void addLane(Lane lane)
    {
        lanes.add(lane);
    }
}
